package ym.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ym.pojo.NutritionProduct;

import java.util.List;

public interface NutritionProductService {
    void add(NutritionProduct nutritionProduct);

    void update(NutritionProduct nutritionProduct);

    void delete(Integer id);

    NutritionProduct findById(Integer id);

    List<NutritionProduct> findAll();

    Page<NutritionProduct> search(String search, int page, int size);
}
